runtime.pageCache.scav (field)
9 uses
runtime (current package)
mpagecache.go#L21: scav uint64 // 64-bit bitmap representing scavenged pages (1 means scavenged)
mpagecache.go#L43: scav := (c.scav >> i) & 1
mpagecache.go#L45: c.scav &^= 1 << i // clear bit to mark unscavenged
mpagecache.go#L63: scav := sys.OnesCount64(c.scav & mask)
mpagecache.go#L65: c.scav &^= mask // clear scavenged bits
mpagecache.go#L96: if c.scav&(1<<i) != 0 {
mpagecache.go#L140: scav: chunk.scavenged.block64(j),
mpagecache.go#L157: scav: chunk.scavenged.block64(chunkPageIndex(addr)),
mpagecache.go#L165: chunk.scavenged.clearBlock64(cpi, c.cache&c.scav /* free and scavenged */)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |